package com.cskaoyan.bean.category.vo;

import com.cskaoyan.bean.category.Category;
import lombok.Data;

/**
 * 创建日期: 2022/05/06 12:29
 *
 * @author JinLu Zhou
 */
@Data
public class L2Vo2 {
    String desc;
    String iconUrl;
    Integer id;
    String keywords;
    String level;
    String name;
    String picUrl;

    public void setCategory(Category category) {
        setId(category.getId());
        setName(category.getName());
        setKeywords(category.getKeywords());
        setDesc(category.getDesc());
        setIconUrl(category.getIconUrl());
        setPicUrl(category.getPicUrl());
        setLevel(category.getLevel());


    }
}
